package com.hex.ds.hdtp.core.inf.data.transfer.po;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;

/**
 * @Package: com.hex.ds.hdtp.core.inf.data.transfer.po
 * @ClassName DataTransferTaskPo
 * @Description: 数据迁移任务-PO对象
 * @Author: wz.li
 * @Date 2023/8/17 16:44
 * @Version v2.0.2
 **/
@Data
@TableName(value = "tm_data_transfer_task")
public class DataTransferTaskPo implements Serializable {

    @TableId(value = "pk_id", type = IdType.ASSIGN_UUID)
    private String pkId;

    @TableField(value = "task_name")
    private String taskName;

    @TableField(value = "data_sync_type")
    private String dataSyncType;

    @TableField(value = "data_sync_start_time")
    private String dataSyncStartTime;

    @TableField(value = "data_sync_end_time")
    private String dataSyncEndTime;

    @TableField(value = "status")
    private String status;

    @TableField(value = "total")
    private Integer total;

    @TableField(value = "success_count")
    private Integer successCount;

    @TableField(value = "fail_count")
    private Integer failCount;

    @TableField(value = "is_data_analysis")
    private String isDataAnalysis;

    @TableField(value = "transfer_type")
    private String transferType;

    @TableField(value = "start_time")
    private String startTime;

    @TableField(value = "end_time")
    private String endTime;

    @TableField(value = "crt_user" , fill = FieldFill.INSERT)
    private String crtUser;

    @TableField(value = "crt_user_name" , fill = FieldFill.INSERT)
    private String crtUserName;

    @TableField(value = "crt_ts" , fill = FieldFill.INSERT)
    private String crtTs;

    @TableField(value = "up_user" , fill = FieldFill.INSERT_UPDATE)
    private String upUser;

    @TableField(value = "up_user_name" , fill = FieldFill.INSERT_UPDATE)
    private String upUserName;

    @TableField(value = "up_ts" , fill = FieldFill.INSERT_UPDATE)
    private String upTs;
}
